<?xml version="1.0" encoding="UTF-8"?>
<html filename="docs/SAX/ESAXParseException.html">
<body>
<a id="#top"/>
<h1>
	                Class Summary : ESAXParseException </h1> Encapsulate an XML parse error or warning.

 <blockquote>
 <em>This module, both source code and documentation, is in the
 Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
 </blockquote>

 <p>This exception may include information for locating the error
 in the original XML document, as if it came from a <a href="../SAX/ILocator.html">ILocator</a>
 object.  Note that although the application
 will receive a ESAXParseException as the argument to the handlers
 in the <a href="../SAX/IErrorHandler.html">IErrorHandler</a> interface,
 the application is not actually required to throw the exception;
 instead, it can simply read the information in it and take a
 different action.</p>

 <p>Since this exception is a subclass of <a href="../SAX/ESAXException.html">ESAXException</a>,
 it inherits the ability to wrap another exception.</p>

<br/><b>Since : </b> SAX 1.0
<br/><b>See : </b> <a href="../SAX/ESAXException.html">ESAXException</a>
<br/><b>See : </b> <a href="../SAX/ILocator.html">ILocator</a>
<br/><b>See : </b> <a href="../SAX/IErrorHandler.html">IErrorHandler</a>
<h2>
	              Methods
	            </h2>
<div style="padding-left:10px">
<a href="#getPublicId">
	                  function
	                 getPublicId() : PSAXChar</a>
<br/>
<a href="#getSystemId">
	                  function
	                 getSystemId() : PSAXChar</a>
<br/>
<a href="#getLineNumber">
	                  function
	                 getLineNumber() : Integer</a>
<br/>
<a href="#getColumnNumber">
	                  function
	                 getColumnNumber() : Integer</a>
<br/>
<a href="#getExceptionId">
	                  function
	                 getExceptionId() : SAXString</a>
<br/>
<a href="#setExceptionId">
	                  procedure
	                 setExceptionId(SAXString)</a>
<br/>
<a href="#init">
	                  procedure
	                 init(SAXString, SAXString, Integer, Integer)</a>
<br/>
</div>
<br/>
<hr width="100%"/>
<a name="#getPublicId">
<p>
<b>function</b> getPublicId() : PSAXChar; </p>
</a> Get the public identifier of the entity where the exception occurred.

<br/><b>Result : </b> A string containing the public identifier, or an empty string
         if none is available.
<br/><b>See : </b> <a href="../SAX/ILocator.html#getPublicId">ILocator.getPublicId</a>
<br/>
<p>
<a href="#top">Top</a>
</p>
<hr width="100%"/>
<a name="#getSystemId">
<p>
<b>function</b> getSystemId() : PSAXChar; </p>
</a> Get the system identifier of the entity where the exception occurred.

 <p>If the system identifier is a URL, it will have been resolved
 fully.</p>

<br/><b>Result : </b> A string containing the system identifier, or an empty string
         if none is available.
<br/><b>See : </b> <a href="../SAX/ILocator.html#getSystemId">ILocator.getSystemId</a>
<br/>
<p>
<a href="#top">Top</a>
</p>
<hr width="100%"/>
<a name="#getLineNumber">
<p>
<b>function</b> getLineNumber() : Integer; </p>
</a> The line number of the end of the text where the exception occurred.

 <p>The first line is line 1.</p>

<br/><b>Result : </b> An integer representing the line number, or -1
         if none is available.
<br/><b>See : </b> <a href="../SAX/ILocator.html#getLineNumber">ILocator.getLineNumber</a>
<br/>
<p>
<a href="#top">Top</a>
</p>
<hr width="100%"/>
<a name="#getColumnNumber">
<p>
<b>function</b> getColumnNumber() : Integer; </p>
</a> The column number of the end of the text where the exception occurred.

 <p>The first column in a line is position 1.</p>

<br/><b>Result : </b> An integer representing the column number, or -1
         if none is available.
<br/><b>See : </b> <a href="../SAX/ILocator.html#getColumnNumber">ILocator.getColumnNumber</a>
<br/>
<p>
<a href="#top">Top</a>
</p>
<hr width="100%"/>
<a name="#getExceptionId">
<p>
<b>function</b> getExceptionId() : SAXString; </p>
</a> Returns the identifier for the exception which is being reported.

<br/><b>Result : </b> URI identifying the exception.  SAX standardizes the
  identifiers for errors relating to the specifications that it relies
  on for XML parsing (including <em>XML 1.0</em> and
  <em>Namespaces in XML</em>).
  See <a href="package-summary.html#exceptions">the <em>SAX</em>
  package summary</a> for more information.

<br/><b>Since : </b> SAX 2.1
/
<br/>
<p>
<a href="#top">Top</a>
</p>
<hr width="100%"/>
<a name="#setExceptionId">
<p>
<b>procedure</b> setExceptionId(<b>const</b> id : SAXString); </p>
</a> Assigns the identifier for the exception which is being reported,
 if none has yet been assigned.

<br/><b>Parameter : </b> id URI identifying the exception.  SAX standardizes the
  identifiers for errors relating to the specifications that it relies
  on for XML parsing (including <em>XML 1.0</em> and
  <em>Namespaces in XML</em>).
  See <a href="package-summary.html#exceptions">the <em>SAX</em>
  package summary</a> for more information.

<br/><b>Exception : </b> ESAXIllegalStateException If the ID was already assigned.

<br/><b>Since : </b> SAX 2.1

<br/>
<p>
<a href="#top">Top</a>
</p>
<hr width="100%"/>
<a name="#init">
<p>
<b>procedure</b> init(<b>const</b> publicId : SAXString; <b>const</b> systemId : SAXString;  lineNumber : Integer;  columnNumber : Integer); </p>
</a> Initialization method.

<br/><b>Parameter : </b> publicId The public identifier of the entity which generated the exception,
        or an empty string.
<br/><b>Parameter : </b> systemId The system identifier of the entity which generated the exception,
        or an empty string.
<br/><b>Parameter : </b> lineNumber The line number of the error, or -1.
<br/><b>Parameter : </b> columnNumber The column number of the error, or -1.
<br/>
<p>
<a href="#top">Top</a>
</p>
</body>
</html>